package org.jeecg.modules.flower.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 采后装箱管理
 * @Author: jeecg-boot
 * @Date:   2022-11-21
 * @Version: V1.0
 */
@ApiModel(value="flower_boxes对象", description="采后装箱管理")
@Data
@TableName("flower_boxes")
public class FlowerBoxes implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	@Excel(name = "箱编号", width = 15)
    @ApiModelProperty(value = "箱编号")
    private String boxno;

	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer number;

		/**状态*/
	@Excel(name = "状态", width = 15,replace={"已装箱_1","已出库_0"})
    @ApiModelProperty(value = "状态（-2删除 ,0已装箱，1已出库,）")
    private Integer state;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
